FROM ghcr.io/graalvm/graalvm-ce:22.3.0

MAINTAINER fly

RUN mkdir -p /fly/monitor/logs

WORKDIR /fly/monitor

EXPOSE 9090

ADD ./target/fast-monitor-admin.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
